#ifndef FIGURE_H
#define FIGURE_H

#include "Headers.h"
#include "Drawable.h"
#include "Position.h"

class Figure : public Drawable
{
protected:
    enum FigureColor color;
    QString currentPosition;
public:
    Figure(enum FigureColor _color);

    void setCurrentPosition(const QString & position);
    bool isWhite() const;
    virtual AllMoves moves() const = 0;
    virtual QString getImage() const = 0;
    virtual ~Figure();
};

#endif // FIGURE_H

